﻿import Router from 'vue-router'
import Index from '@let/layer_letter/Index'
import Index_main from "@let/layer_letter/index_main"
//Exchange
//import Gitf_Exchange from "@Exc/Gift_Exchange"
//import my_Exchange from "@Exc/My_Gift"
//官方兑换
const Detail_Exchange = r => require.ensure([], () => r(require('../Detail_Exchange')))

//const inner_login = r => require.ensure([], () => r(require('@/components/login/inner_login.vue')));
//login
//import Wrap_login from "../letter_man_login/wrap_login"
//import Finish_msg from "../letter_man_login/finish_msg"
//import Finisth_msg_2 from "../letter_man_login/finish_msg_2"
//import Finisth_msg_3 from "../letter_man_login/finish_msg_3"
export default new Router({
  routes: [
    {
      path: '/',
      redirect:"/Detail_Exchange",
      meta: {
        //requireAuth: true,  // 添加该字段，表示进入这个路由是需要登录的
      },
      name: 'Index',
      component: Index,
    },
    {
        path: "/Detail_Exchange",
        component: Detail_Exchange
    },
    ],
     
})
